package com.yonyou.pmclouds.personnel.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.personnel.entity.PersonnelVO;

import java.util.ArrayList;

/**
 * @Author chulf
 * @Date 2020/4/13
 * @Description
 **/
public interface PersonnelMaintain {

    ArrayList<PersonnelVO> savePersonnels(PersonnelVO[] personnelVOS) throws BusinessException;

    /**
     *
     * @param personnelVOS
     * @param onOff
     * @throws BusinessException
     */
    void editOnOffPersonnel(PersonnelVO[] personnelVOS, String onOff) throws BusinessException;

    PersonnelVO[] insertBatchByTeam(PersonnelVO[] personnelVOS) throws BusinessException;
}
